package com.demo.mybatisgen.model;

import java.io.Serializable;

public class CourseAttendance implements Serializable {
    private Long id;

    /**
     * 第几周
     *
     * @mbg.generated
     */
    private Integer weekNum;

    /**
     * 应到人数
     *
     * @mbg.generated
     */
    private Integer shouldAttend;

    /**
     * 实到人数
     *
     * @mbg.generated
     */
    private Integer actualAttend;

    /**
     * 未到人数
     *
     * @mbg.generated
     */
    private Integer absent;

    /**
     * 课程
     *
     * @mbg.generated
     */
    private Long courseId;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getWeekNum() {
        return weekNum;
    }

    public void setWeekNum(Integer weekNum) {
        this.weekNum = weekNum;
    }

    public Integer getShouldAttend() {
        return shouldAttend;
    }

    public void setShouldAttend(Integer shouldAttend) {
        this.shouldAttend = shouldAttend;
    }

    public Integer getActualAttend() {
        return actualAttend;
    }

    public void setActualAttend(Integer actualAttend) {
        this.actualAttend = actualAttend;
    }

    public Integer getAbsent() {
        return absent;
    }

    public void setAbsent(Integer absent) {
        this.absent = absent;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", weekNum=").append(weekNum);
        sb.append(", shouldAttend=").append(shouldAttend);
        sb.append(", actualAttend=").append(actualAttend);
        sb.append(", absent=").append(absent);
        sb.append(", courseId=").append(courseId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}